package com.test.test_rest.miner_pool.domain.gen;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CusDayProfitCriteria {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer mysqlOffset;

    protected Integer mysqlLength;

    protected String isCURD;

    public CusDayProfitCriteria() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * @param mysqlOffset 
	 *            指定返回记录行的偏移量<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public void setMysqlOffset(Integer mysqlOffset) {
        this.mysqlOffset=mysqlOffset;
    }

    /**
     * @param mysqlLength 
	 *            指定返回记录行的最大数目<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public Integer getMysqlOffset() {
        return mysqlOffset;
    }

    /**
     * @param mysqlOffset 
	 *            指定返回记录行的偏移量<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public void setMysqlLength(Integer mysqlLength) {
        this.mysqlLength=mysqlLength;
    }

    /**
     * @param mysqlLength 
	 *            指定返回记录行的最大数目<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public Integer getMysqlLength() {
        return mysqlLength;
    }

    public void setIsCURD(String isCURD) {
        this.isCURD=isCURD;
    }

    public String getIsCURD() {
        return isCURD;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andMinerIdIsNull() {
            addCriterion("MINER_ID is null");
            return (Criteria) this;
        }

        public Criteria andMinerIdIsNotNull() {
            addCriterion("MINER_ID is not null");
            return (Criteria) this;
        }

        public Criteria andMinerIdEqualTo(Integer value) {
            addCriterion("MINER_ID =", value, "minerId");
            return (Criteria) this;
        }

        public Criteria andMinerIdNotEqualTo(Integer value) {
            addCriterion("MINER_ID <>", value, "minerId");
            return (Criteria) this;
        }

        public Criteria andMinerIdGreaterThan(Integer value) {
            addCriterion("MINER_ID >", value, "minerId");
            return (Criteria) this;
        }

        public Criteria andMinerIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("MINER_ID >=", value, "minerId");
            return (Criteria) this;
        }

        public Criteria andMinerIdLessThan(Integer value) {
            addCriterion("MINER_ID <", value, "minerId");
            return (Criteria) this;
        }

        public Criteria andMinerIdLessThanOrEqualTo(Integer value) {
            addCriterion("MINER_ID <=", value, "minerId");
            return (Criteria) this;
        }

        public Criteria andMinerIdIn(List<Integer> values) {
            addCriterion("MINER_ID in", values, "minerId");
            return (Criteria) this;
        }

        public Criteria andMinerIdNotIn(List<Integer> values) {
            addCriterion("MINER_ID not in", values, "minerId");
            return (Criteria) this;
        }

        public Criteria andMinerIdBetween(Integer value1, Integer value2) {
            addCriterion("MINER_ID between", value1, value2, "minerId");
            return (Criteria) this;
        }

        public Criteria andMinerIdNotBetween(Integer value1, Integer value2) {
            addCriterion("MINER_ID not between", value1, value2, "minerId");
            return (Criteria) this;
        }

        public Criteria andDateStrIsNull() {
            addCriterion("DATE_STR is null");
            return (Criteria) this;
        }

        public Criteria andDateStrIsNotNull() {
            addCriterion("DATE_STR is not null");
            return (Criteria) this;
        }

        public Criteria andDateStrEqualTo(String value) {
            addCriterion("DATE_STR =", value, "dateStr");
            return (Criteria) this;
        }

        public Criteria andDateStrNotEqualTo(String value) {
            addCriterion("DATE_STR <>", value, "dateStr");
            return (Criteria) this;
        }

        public Criteria andDateStrGreaterThan(String value) {
            addCriterion("DATE_STR >", value, "dateStr");
            return (Criteria) this;
        }

        public Criteria andDateStrGreaterThanOrEqualTo(String value) {
            addCriterion("DATE_STR >=", value, "dateStr");
            return (Criteria) this;
        }

        public Criteria andDateStrLessThan(String value) {
            addCriterion("DATE_STR <", value, "dateStr");
            return (Criteria) this;
        }

        public Criteria andDateStrLessThanOrEqualTo(String value) {
            addCriterion("DATE_STR <=", value, "dateStr");
            return (Criteria) this;
        }

        public Criteria andDateStrLike(String value) {
            addCriterion("DATE_STR like", value, "dateStr");
            return (Criteria) this;
        }

        public Criteria andDateStrNotLike(String value) {
            addCriterion("DATE_STR not like", value, "dateStr");
            return (Criteria) this;
        }

        public Criteria andDateStrIn(List<String> values) {
            addCriterion("DATE_STR in", values, "dateStr");
            return (Criteria) this;
        }

        public Criteria andDateStrNotIn(List<String> values) {
            addCriterion("DATE_STR not in", values, "dateStr");
            return (Criteria) this;
        }

        public Criteria andDateStrBetween(String value1, String value2) {
            addCriterion("DATE_STR between", value1, value2, "dateStr");
            return (Criteria) this;
        }

        public Criteria andDateStrNotBetween(String value1, String value2) {
            addCriterion("DATE_STR not between", value1, value2, "dateStr");
            return (Criteria) this;
        }

        public Criteria andAmountIsNull() {
            addCriterion("AMOUNT is null");
            return (Criteria) this;
        }

        public Criteria andAmountIsNotNull() {
            addCriterion("AMOUNT is not null");
            return (Criteria) this;
        }

        public Criteria andAmountEqualTo(BigDecimal value) {
            addCriterion("AMOUNT =", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualTo(BigDecimal value) {
            addCriterion("AMOUNT <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThan(BigDecimal value) {
            addCriterion("AMOUNT >", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("AMOUNT >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThan(BigDecimal value) {
            addCriterion("AMOUNT <", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("AMOUNT <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountIn(List<BigDecimal> values) {
            addCriterion("AMOUNT in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotIn(List<BigDecimal> values) {
            addCriterion("AMOUNT not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AMOUNT between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AMOUNT not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andElectricFeeIsNull() {
            addCriterion("ELECTRIC_FEE is null");
            return (Criteria) this;
        }

        public Criteria andElectricFeeIsNotNull() {
            addCriterion("ELECTRIC_FEE is not null");
            return (Criteria) this;
        }

        public Criteria andElectricFeeEqualTo(BigDecimal value) {
            addCriterion("ELECTRIC_FEE =", value, "electricFee");
            return (Criteria) this;
        }

        public Criteria andElectricFeeNotEqualTo(BigDecimal value) {
            addCriterion("ELECTRIC_FEE <>", value, "electricFee");
            return (Criteria) this;
        }

        public Criteria andElectricFeeGreaterThan(BigDecimal value) {
            addCriterion("ELECTRIC_FEE >", value, "electricFee");
            return (Criteria) this;
        }

        public Criteria andElectricFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ELECTRIC_FEE >=", value, "electricFee");
            return (Criteria) this;
        }

        public Criteria andElectricFeeLessThan(BigDecimal value) {
            addCriterion("ELECTRIC_FEE <", value, "electricFee");
            return (Criteria) this;
        }

        public Criteria andElectricFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ELECTRIC_FEE <=", value, "electricFee");
            return (Criteria) this;
        }

        public Criteria andElectricFeeIn(List<BigDecimal> values) {
            addCriterion("ELECTRIC_FEE in", values, "electricFee");
            return (Criteria) this;
        }

        public Criteria andElectricFeeNotIn(List<BigDecimal> values) {
            addCriterion("ELECTRIC_FEE not in", values, "electricFee");
            return (Criteria) this;
        }

        public Criteria andElectricFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ELECTRIC_FEE between", value1, value2, "electricFee");
            return (Criteria) this;
        }

        public Criteria andElectricFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ELECTRIC_FEE not between", value1, value2, "electricFee");
            return (Criteria) this;
        }

        public Criteria andManagementFeeIsNull() {
            addCriterion("MANAGEMENT_FEE is null");
            return (Criteria) this;
        }

        public Criteria andManagementFeeIsNotNull() {
            addCriterion("MANAGEMENT_FEE is not null");
            return (Criteria) this;
        }

        public Criteria andManagementFeeEqualTo(BigDecimal value) {
            addCriterion("MANAGEMENT_FEE =", value, "managementFee");
            return (Criteria) this;
        }

        public Criteria andManagementFeeNotEqualTo(BigDecimal value) {
            addCriterion("MANAGEMENT_FEE <>", value, "managementFee");
            return (Criteria) this;
        }

        public Criteria andManagementFeeGreaterThan(BigDecimal value) {
            addCriterion("MANAGEMENT_FEE >", value, "managementFee");
            return (Criteria) this;
        }

        public Criteria andManagementFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("MANAGEMENT_FEE >=", value, "managementFee");
            return (Criteria) this;
        }

        public Criteria andManagementFeeLessThan(BigDecimal value) {
            addCriterion("MANAGEMENT_FEE <", value, "managementFee");
            return (Criteria) this;
        }

        public Criteria andManagementFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("MANAGEMENT_FEE <=", value, "managementFee");
            return (Criteria) this;
        }

        public Criteria andManagementFeeIn(List<BigDecimal> values) {
            addCriterion("MANAGEMENT_FEE in", values, "managementFee");
            return (Criteria) this;
        }

        public Criteria andManagementFeeNotIn(List<BigDecimal> values) {
            addCriterion("MANAGEMENT_FEE not in", values, "managementFee");
            return (Criteria) this;
        }

        public Criteria andManagementFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MANAGEMENT_FEE between", value1, value2, "managementFee");
            return (Criteria) this;
        }

        public Criteria andManagementFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MANAGEMENT_FEE not between", value1, value2, "managementFee");
            return (Criteria) this;
        }

        public Criteria andSiteFeeIsNull() {
            addCriterion("SITE_FEE is null");
            return (Criteria) this;
        }

        public Criteria andSiteFeeIsNotNull() {
            addCriterion("SITE_FEE is not null");
            return (Criteria) this;
        }

        public Criteria andSiteFeeEqualTo(BigDecimal value) {
            addCriterion("SITE_FEE =", value, "siteFee");
            return (Criteria) this;
        }

        public Criteria andSiteFeeNotEqualTo(BigDecimal value) {
            addCriterion("SITE_FEE <>", value, "siteFee");
            return (Criteria) this;
        }

        public Criteria andSiteFeeGreaterThan(BigDecimal value) {
            addCriterion("SITE_FEE >", value, "siteFee");
            return (Criteria) this;
        }

        public Criteria andSiteFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("SITE_FEE >=", value, "siteFee");
            return (Criteria) this;
        }

        public Criteria andSiteFeeLessThan(BigDecimal value) {
            addCriterion("SITE_FEE <", value, "siteFee");
            return (Criteria) this;
        }

        public Criteria andSiteFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("SITE_FEE <=", value, "siteFee");
            return (Criteria) this;
        }

        public Criteria andSiteFeeIn(List<BigDecimal> values) {
            addCriterion("SITE_FEE in", values, "siteFee");
            return (Criteria) this;
        }

        public Criteria andSiteFeeNotIn(List<BigDecimal> values) {
            addCriterion("SITE_FEE not in", values, "siteFee");
            return (Criteria) this;
        }

        public Criteria andSiteFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SITE_FEE between", value1, value2, "siteFee");
            return (Criteria) this;
        }

        public Criteria andSiteFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SITE_FEE not between", value1, value2, "siteFee");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CREATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CREATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("CREATE_TIME =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CREATE_TIME <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CREATE_TIME >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CREATE_TIME <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CREATE_TIME in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CREATE_TIME not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("UPDATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("UPDATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("UPDATE_TIME =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("UPDATE_TIME <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("UPDATE_TIME >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("UPDATE_TIME <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("UPDATE_TIME in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("UPDATE_TIME not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andCusIdIsNull() {
            addCriterion("CUS_ID is null");
            return (Criteria) this;
        }

        public Criteria andCusIdIsNotNull() {
            addCriterion("CUS_ID is not null");
            return (Criteria) this;
        }

        public Criteria andCusIdEqualTo(Integer value) {
            addCriterion("CUS_ID =", value, "cusId");
            return (Criteria) this;
        }

        public Criteria andCusIdNotEqualTo(Integer value) {
            addCriterion("CUS_ID <>", value, "cusId");
            return (Criteria) this;
        }

        public Criteria andCusIdGreaterThan(Integer value) {
            addCriterion("CUS_ID >", value, "cusId");
            return (Criteria) this;
        }

        public Criteria andCusIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("CUS_ID >=", value, "cusId");
            return (Criteria) this;
        }

        public Criteria andCusIdLessThan(Integer value) {
            addCriterion("CUS_ID <", value, "cusId");
            return (Criteria) this;
        }

        public Criteria andCusIdLessThanOrEqualTo(Integer value) {
            addCriterion("CUS_ID <=", value, "cusId");
            return (Criteria) this;
        }

        public Criteria andCusIdIn(List<Integer> values) {
            addCriterion("CUS_ID in", values, "cusId");
            return (Criteria) this;
        }

        public Criteria andCusIdNotIn(List<Integer> values) {
            addCriterion("CUS_ID not in", values, "cusId");
            return (Criteria) this;
        }

        public Criteria andCusIdBetween(Integer value1, Integer value2) {
            addCriterion("CUS_ID between", value1, value2, "cusId");
            return (Criteria) this;
        }

        public Criteria andCusIdNotBetween(Integer value1, Integer value2) {
            addCriterion("CUS_ID not between", value1, value2, "cusId");
            return (Criteria) this;
        }

        public Criteria andDailyPowerIsNull() {
            addCriterion("DAILY_POWER is null");
            return (Criteria) this;
        }

        public Criteria andDailyPowerIsNotNull() {
            addCriterion("DAILY_POWER is not null");
            return (Criteria) this;
        }

        public Criteria andDailyPowerEqualTo(BigDecimal value) {
            addCriterion("DAILY_POWER =", value, "dailyPower");
            return (Criteria) this;
        }

        public Criteria andDailyPowerNotEqualTo(BigDecimal value) {
            addCriterion("DAILY_POWER <>", value, "dailyPower");
            return (Criteria) this;
        }

        public Criteria andDailyPowerGreaterThan(BigDecimal value) {
            addCriterion("DAILY_POWER >", value, "dailyPower");
            return (Criteria) this;
        }

        public Criteria andDailyPowerGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("DAILY_POWER >=", value, "dailyPower");
            return (Criteria) this;
        }

        public Criteria andDailyPowerLessThan(BigDecimal value) {
            addCriterion("DAILY_POWER <", value, "dailyPower");
            return (Criteria) this;
        }

        public Criteria andDailyPowerLessThanOrEqualTo(BigDecimal value) {
            addCriterion("DAILY_POWER <=", value, "dailyPower");
            return (Criteria) this;
        }

        public Criteria andDailyPowerIn(List<BigDecimal> values) {
            addCriterion("DAILY_POWER in", values, "dailyPower");
            return (Criteria) this;
        }

        public Criteria andDailyPowerNotIn(List<BigDecimal> values) {
            addCriterion("DAILY_POWER not in", values, "dailyPower");
            return (Criteria) this;
        }

        public Criteria andDailyPowerBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("DAILY_POWER between", value1, value2, "dailyPower");
            return (Criteria) this;
        }

        public Criteria andDailyPowerNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("DAILY_POWER not between", value1, value2, "dailyPower");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}